Repository navigation
feat: publish inventory-owner hardware metrics and Device metadata - #266
Conversation
scotwells
left a comment
There was a problem hiding this comment.
AI adversarial review signoff for exact head a2f1831 against main 807b490: no blocking findings. This is an agent review COMMENT, not human approval.
Reviewed authenticated uncached Project/Device authority reads and incarnation checks; TLS endpoint binding, redirect rejection and credential separation; protected source mapping and explicit output allowlists; original timestamps, diagnostic coherence, missingness, failure/session reset behavior; the separate image/release workflow (including removal of secrets: inherit); and the optional independent metadata policy/reader package. Inspected actual resource-metrics source at 79dfc204b62f924d96760105af391895af937ebe: the documented Project-name attributes and absence of automatic Project UID match the runtime.
Independently reran go test -count=1 -race for internal/devicehardwarepublisher, internal/devicehardwaremetrics, internal/hardwaremetrics, cmd/fleet-device-hardware-publisher, and config/components/resource-metrics: all passed. Documentation link validation and diff whitespace checks passed; worktree remains clean.
The explicitly accepted final-read/output race and Project-name historical authorization limitations remain documented residuals, not new blockers. This code signoff does not establish live certificate/least-privilege authorization, protected physical/source qualification, ingestion/federation behavior, or customer query isolation; those remain the documented rollout acceptance gates. No live mutation, merge, or human reviewer request performed. GitHub checks at final read: 3 passed, 5 pending, none failed; no unresolved review threads.
Summary
Validation
Rollout and review
Not deployed. Staging uses a separately reviewed account-only infrastructure stage, then actual-UID certificate/permission qualification, immutable image/config, ingestion and federation.
User approved dedicated Project-wide Device GET (full objects/all namespaces) only; no list/watch/write, other Project access, broad IAM redesign or UID-pinned customer query grants.
Independent adversarial review will sign off the exact PR head before requesting Evan (
ecv). No merge before required reviews/checks. Live customer data and isolation remain acceptance gates.